import { createRouter, createWebHistory } from 'vue-router';
import Discover from '../views/Discover.vue';
import Channels from '../views/Channels.vue';
import Profile from '../views/Profile.vue';
import Player from '../views/Player.vue';
import Search from '../views/Search.vue'; 

const routes = [
  { path: '/discover', component: Discover },
  { path: '/channels', component: Channels },
  { path: '/profile', component: Profile },
  { path: '/player', component: Player },
  { path: '/search', component: Search }, 
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;